#include "websocket.h"
#include "ws_protocol_service.h"

namespace El {
namespace Restful {

WebSocketService &WebSocketService::GetInstance()
{
    static WebSocketService instance;
    return instance;
}

bool WebSocketService::Start()
{
    WebSocketProtocolService::GetInstance().Start();
    return true;
}

bool WebSocketService::Stop()
{
    WebSocketProtocolService::GetInstance().Stop();
    return true;
}

} // namespace Restful
} // namespace El